<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace App\Services;

use App\Models\Order;

/**
 *
 * @author ownfi
 */
interface IMobileService {

    /**
     * 发送短信
     * @param type $phoneNum
     * @param type $message
     */
    public function sendMessage($phoneNum,$message);

    /**
     * 发送短信验证/检验验证码
     * @param type $phoneNum
     * @param type $verifyCode
     */
    public function smsVerify($phoneNum,$verifyCode = null);

    /**
     * 发送短信记录
     * @param $phone
     * @param $content
     * @param $code
     * @param $result
     * @return mixed
     */
    public function smsLog($phone,$content,$code,$result);

}
